package com.globant.exceptions;

@SuppressWarnings("serial")
public class LengthException extends Exception {
	
	private String field;
	
	public LengthException(String field){
		this.setField(field);
	}
	
	public String getField() {
		return field;
	}



	public void setField(String field) {
		this.field = field;
	}



	public String toString(){
		return "Lenght of "+getField()+" not valid";
	}
	
}
